<%--
  Created by IntelliJ IDEA.
  User: 12197
  Date: 2021/11/22
  Time: 9:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/jsp/common/head.jsp"%>
<%@page import="java.util.*"%>
<%@page import="java.text.SimpleDateFormat"%>
<% 		Date d = new Date();
    SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    String now = df.format(d);%>
<div class="card-header d-flex justify-content-between">
    <div class="header-title">
        <h4 class="card-title">
            学具材料采购
        </h4>
    </div>
</div>
    <p style="color: red;">${message}</p>
    <div class="card-body">
        <form action="${pageContext.request.contextPath}/material?methodd=materialin" method="post">

            <div class="form-group">
                <label for="leibie">类别</label>
                <input id="leibie" name="leibie" required class="form-control"  type="text" value="学具" readonly>
            </div>

            <div class="form-group">
                <label for="mingcheng">材料名称</label>
                <input id="mingcheng" name="mingcheng" required class="form-control" type="text"  placeholder="请输入材料名称">
            </div>

            <div class="form-group">
                <label for="danwei">单位</label>
                <input id="danwei" name="danwei" required class="form-control"  type="text" min="1" placeholder="请输入单位">
            </div>

            <div class="form-group">
                <label for="danjia">单价</label>
                <input id="danjia" name="danjia" required class="form-control"  type="text" >
            </div>

            <div class="form-group">
                <label for="shuliang">数量</label>
                <input id="shuliang" name="shuliang" required class="form-control"  type="text" >
            </div>

            <div class="form-group">
                <label for="jine">金额</label>
                <input id="jine" name="jine" required class="form-control" min="0" type="text" >
            </div>

            <div class="form-group">
                <label for="gongsi">供货公司</label>
                <input id="gongsi" name="gongsi" required class="form-control" min="0" type="text" >
            </div>

            <div class="form-group">
                <label for="riqi">日期</label>
                <input id="riqi" name="riqi" required class="form-control" min="0" type="text" value="<%=now%>" readonly>
            </div>

            <div class="form-group">
                <label for="beizhu">备注</label>
                <input id="beizhu" name="beizhu" required class="form-control" type="text">
            </div>
            <button class="btn btn-primary" type="submit">提交</button>
        </form>
    </div>
</div>
<%@include file="/jsp/common/footer.jsp"%>

